projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a261ce
)
; * src/term.c (init_tty): Fix last change.
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 11 Nov 2021 14:58:47 +0000
(16:58 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 11 Nov 2021 14:58:47 +0000
(16:58 +0200)
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index fd8db5349dffa733d2ba82c6b1ce33a6560cfd3e..b4f3dfc25e41aa6d82c693dd8632d65e51d1c076 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-4155,7
+4155,7
@@
use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\
/* Fall back to xterm+direct (semicolon version) if Tc is set
(de-facto standard introduced by tmux) or if requested by
the COLORTERM environment variable. */
- else if ((tigetflag ("Tc")
!= -1
)
+ else if ((tigetflag ("Tc")
> 0
)
|| ((bg = getenv ("COLORTERM")) != NULL
&& strcasecmp (bg, "truecolor") == 0))
{